package com.my.hp_hr.entity.liuhao_entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * 员工表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Employee{

	private static final long serialVersionUID = 1L;
	

	private int id;
	private int employee_number;//员工编号:登录账号
	private String name;//姓名
	private String gender;//性别
	private Date birthday;//出生日期
	private String telephone;//联系方式
	private String email;//邮箱
	private String address;//籍贯
	private String photo;//照片
	private String education;//学历
	private int department_number;//部门编号
	private int position_number;//职称编号
	private Date in_time;//入职时间：为方便练习，代码中直接使用的是系统录入时间
	private String password;//密码
	private String notes;//备注

//===========================================
	private Position position;
	private Department department;

	
}
